
message(STATUS "Configuring dataResolver...")

set(CMAKE_CXX_STANDARD 14)
# set(CMAKE_CXX_STANDARD_REQUIRED ON)
# 先调用get_property将这个property读取到一个变量中(variable)INCLUDE_OPENCL 
get_property(BIN GLOBAL PROPERTY "BIN_DIR" ) 

MESSAGE(STATUS "USRBIN :${BIN}")

aux_source_directory(. LIB_SRCS)			# 添加当前目录下所有的源文件
if (debug STREQUAL "ON" OR debug STREQUAL "on")
    add_library (dataResolver STATIC ${LIB_SRCS})				# 当前目录下的文件生成一个静态链接库

    install(TARGETS dataResolver
    ARCHIVE  DESTINATION ${BIN} 
    )
else()
    add_library (dataResolver SHARED ${LIB_SRCS})				# 当前目录下的文件生成一个动态链接库
    
    install(TARGETS dataResolver
    LIBRARY  DESTINATION ${BIN} 
    )
endif()
